import type { changeProfilePrarms, ProfileDetail } from '@/types/member';
import http from '@/utils/http';

export const getProfile = () => {

    return http<ProfileDetail>({
        method: 'GET',
        url: '/member/profile',
    })
}


export const PutProfile = (data: changeProfilePrarms) => {

    return http({
        method: 'PUT',
        url: '/member/profile',
        data
    })
}


